package com.getan.boot.common.domain.bo;

import com.getan.boot.common.domain.GenericBO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 分页对象
 *
 * @author Bruce.Gong
 * @since 1.0.0-SNAPSHOT
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class PaginationBO extends GenericBO {

    /**
     * 页码，默认值为 1
     */
    private Integer page = 1;

    /**
     * 每页显示记录数，默认值为 20
     */
    private Integer pageSize = 20;

}
